
#@layout()
#define main()
		#include("_form.html")
#end
<!-- 截取url参数 -->
#define js()
<script type="text/javascript">
	$(function(){
		var searchURL=window.location.search;
		searchURL = searchURL.substring(1, searchURL.length);
		var params=searchURL.split("&");
		var p1 = params[0].split("=")[1];
		var p2 = params[1].split("=")[1];
		$('input[name="parent_id"]').val(p1);
		$('input[name="type"]').val(p2);
		
	});     
</script>
#end

<!-- 保存数据 -->
#define layuiFunc()	
	var saveUrl="#(path)/portal/form/sysTree/save";
#end